<?php defined("MAIN_DIR") or die("No direct access");

switch ($route->getPath(3)) {
	
	case "list":	require_once ADMIN."users".DS."list.php"; break;
	case "add": 	require_once ADMIN."users".DS."add.php"; break;
	case "edit":	require_once ADMIN."users".DS."edit.php"; break;
	case "delete":	require_once ADMIN."users".DS."delete.php"; break;

	default: to("/admin/users/list");
}

?>